class Test():
    def __init__(self,func):
        print("test初始化：",func.__name__)
        self.func=func

    def __call__(self, *args, **kwargs):
        print("我调用了")
        self.func
@Test
def test():
    print("--test--")
test()
